<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="i.css">
  <title>Apple watch dial 2</title>
  <style>
    .dial{
      overflow: hidden;
    }
    .dial-style2{
      position: absolute;
      width: 90%;
      height: 90%;
      left: 5%;
      top: 5%;
      border-radius: 10px;
      background-color: #d4f2bd;
    }

    .hour-pointer{
      width: 20%;
      height: 6px;
      margin-top: -3px;
    }
    .hour-pointer:before{
      width: 20%;
      height: 3px;
      left: 0;
      top: 50%;
      margin-top: -1.5px;
    }
    .hour-pointer:after{
      width: 80%;
      height: 100%;
      left: 20%;
    }

    .minute-pointer {
      width: 35%;
      height: 6px;
      margin-top: -3px;
    }
    .minute-pointer:before {
      width: 10%;
      height: 3px;
      left: 0;
      top: 50%;
      margin-top: -1.5px;
    }
    .minute-pointer:after{
      width: 90%;
      height: 100%;
      left: 10%;
    }

    .second-pointer {
      width: 40%;
      height: 2px;
      margin-top: -1px;
      border-radius: 1000px;
      background-color: #ff9500;
      box-shadow: 0 0 2px 1px #ccc;
    }
    .second-pointer:before {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      left: -3px;
      top: 50%;
      margin-top: -3px;
      background: radial-gradient(circle, #fff 10%, #ff9500 90%);
    }
    .second-pointer:after{
      width: 8%;
      height: 2px;
      left: -8%;
      background-color: inherit;
    }
  </style>
</head>
<body>

  <div class="watch">
    <div class="dial dial-style2">
      <div class="pointers">
      </div>
    </div>
  </div>

  <script src="i.js"></script>
  <script>
    new Clock(document.querySelector('.pointers'))
  </script>
</body>
</html>